# coding=utf-8

from socket import *

tcp_socket = socket(AF_INET,SOCK_DGRAM)
ip_port = ('192.168.110.76',8080)
tcp_client_socket = tcp_socket.connect(ip_port)

for i in range(3):
    data = 'i love you'
    data_bytes = data.encode('gbk')
    tcp_socket.send(data_bytes)

tcp_socket.close()

